package org.zkdn.modules.wlpt.basicinfo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: roadside_device_all
 * @Author: jeecg-boot
 * @Date:   2025-06-18
 * @Version: V1.0
 */
@Data
@TableName("roadside_device_all")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="roadside_device_all对象", description="roadside_device_all")
public class RoadsideDeviceAll implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**设备编号*/
    @Excel(name = "设备编号", width = 15)
    @ApiModelProperty(value = "设备编号")
    private String deviceId;
	/**设备序列号*/
	@Excel(name = "设备序列号", width = 15)
    @ApiModelProperty(value = "设备序列号")
    private String serialNumber;
	/**设备厂商*/
	@Excel(name = "设备厂商", width = 15)
    @ApiModelProperty(value = "设备厂商")
    @Dict(dicCode = "device_manufacturer")
    private String manufacturerId;
	/**设备型号*/
	@Excel(name = "设备类型", width = 15)
    @ApiModelProperty(value = "设备类型")
    @Dict(dicCode = "camera_type")
    private String deviceType;
	/**协议*/
//	@Excel(name = "协议", width = 15)
    @ApiModelProperty(value = "协议")
    private String commProtocol;
	/**服务器地址*/
//	@Excel(name = "服务器地址", width = 15)
    @ApiModelProperty(value = "服务器地址")
    private String serverAddr;
	/**联网状态(0离线  1在线)*/
	@Excel(name = "联网状态", width = 15)
    @ApiModelProperty(value = "联网状态(0离线  1在线)")
    @Dict(dicCode = "online_state")
    private Integer onlineState;
	/**主体id*/
//	@Excel(name = "主体id", width = 15)
    @ApiModelProperty(value = "主体id")
    private String orgId;
	/**主体名称*/
//	@Excel(name = "主体名称", width = 15)
    @ApiModelProperty(value = "主体名称")
    private String orgName;
	/**摄像机位置（0车内 1车外）*/
//	@Excel(name = "摄像机位置（0车内 1车外）", width = 15)
    @ApiModelProperty(value = "摄像机位置（0车内 1车外）")
    private String positionType;
	/**路口id*/
	@Excel(name = "路口id", width = 15)
    @ApiModelProperty(value = "路口id")
    private String crossId;
	/**道路id*/
	@Excel(name = "道路id", width = 15)
    @ApiModelProperty(value = "道路id")
    private String roadId;
	/**杆件id*/
	@Excel(name = "杆件id", width = 15)
    @ApiModelProperty(value = "杆件id")
    private String poleId;
    /**坐标-经度*/
    @Excel(name = "坐标-经度", width = 15)
    @ApiModelProperty(value = "坐标-经度")
    private Double lng;
    /**坐标-纬度*/
    @Excel(name = "坐标-纬度", width = 15)
    @ApiModelProperty(value = "坐标-纬度")
    private Double lat;

    /**通道编号*/
	@Excel(name = "通道编号", width = 15)
    @ApiModelProperty(value = "通道编号")
    private String channelNumber;
    /**国际编码*/
	@Excel(name = "国际编码", width = 15)
    @ApiModelProperty(value = "国际编码")
    private String internationalCoding;
    /**设备ip*/
	@Excel(name = "设备ip", width = 15)
    @ApiModelProperty(value = "设备ip")
    private String deviceIp;
    /**厂商摄像机名称*/
	@Excel(name = "厂商摄像机名称", width = 15)
    @ApiModelProperty(value = "厂商摄像机名称")
    private String manufacturerDeviceName;
    /**摄像机名称*/
	@Excel(name = "摄像机名称", width = 15)
    @ApiModelProperty(value = "摄像机名称")
    private String deviceName;
    /**推流地址*/
    @Excel(name = "推流地址", width = 15)
    @ApiModelProperty(value = "推流地址")
    private String streamAddr;
    /**摄像机型号*/
    @Excel(name = "摄像机型号", width = 15)
    @ApiModelProperty(value = "摄像机型号")
    private String deviceModel;
    /**类型标识(camera,mec,radar,rsu,signallamp)*/
    @Excel(name = "类型标识", width = 15)
    @ApiModelProperty(value = "类型标识(camera,mec,radar,rsu,signallamp)")
    @Dict(dicCode = "device_dtype")
    private String dtype;
}
